package com.glory.hikvisionmobile.adapter;

import androidx.annotation.Nullable;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.glory.hikvisionmobile.R;
import com.glory.hikvisionmobile.bean.TrackIn.XPdaOperationBean;

import java.util.List;

public class TrackInWorkHintAdapter extends BaseQuickAdapter<XPdaOperationBean, BaseViewHolder> {
    public TrackInWorkHintAdapter(@Nullable List<XPdaOperationBean> data) {
        super(R.layout.adapter_work_hint_list,data);
    }



    @Override
    protected void convert(BaseViewHolder helper, XPdaOperationBean item) {
        helper.setText(R.id.tvWorkHint,item.getDescription());
        helper.setText(R.id.tvPositions,String.valueOf(item.getSeq()));
    }
}
